<?php

    if ( !defined ( 'BASEPATH' ) )
        exit ( 'No direct script access allowed' );

    if ( !function_exists ( 'check' ) )
    {

        function check ( $var_name, $value_to_check )
        {
            if(isset($var_name))
                return TRUE;
        }

    }
?>